package com.lancer.cloud.engine.service.impl;

import com.lancer.cloud.common.base.service.impl.BaseServiceImpl;
import com.lancer.cloud.engine.dto.EngineMonitorLogDto;
import com.lancer.cloud.engine.entity.EngineMonitorLog;
import com.lancer.cloud.engine.mapper.EngineMonitorLogMapper;
import com.lancer.cloud.engine.service.EngineLogService;

/**
 * 引擎日志实现类
 *
 * @author caijinbang
 * @date 2019-06-22 17:19
 */
public class EngineLogServiceImpl extends BaseServiceImpl<EngineMonitorLogMapper, EngineMonitorLog> implements EngineLogService {

    /**
     * 保存监控日志
     *
     * @param log 执行日志
     */
    @Override
    public void insertMonitorLog(EngineMonitorLog log) {
        this.save(log);
    }

    /**
     * 构建引擎监控日志对象
     */
    @Override
    public EngineMonitorLog buildEngineMonitorLog(EngineMonitorLogDto engineMonitorLogDto) {
        return null;
    }
}
